import request from '@/utils/request.js'

export function getOrderList(data){
    return request({
        url:'/orders',
        params:{
           ...data
        }
    })
}

export function getOrderInfo(order_id
    ){
    return request({
        url:`/orders/${order_id
        }`,
        params:{
            order_id

        }
        
    })
}